/*
 *       custom styles
 *          copyrighted 2023 printmall.cz
 *       coded by Ladislav Mazanek 
 *          Lada@mazanydesign.cz
*/


/* global */
.text_color_red {
    color:#cc2e18 !important;
}

/* uprava breadcrumb */
body.eshop-category .kosta-breadcrumb {
    padding: 0 0 10px !important; /*max-width: 1322px*/;
    margin: 0 auto 0;
    background-color: #fff;
}
@media (max-width: 991) {
    body.eshop-category .kosta-breadcrumb, 
    body.eshop-product .kosta-breadcrumb {
        padding: 0 0 10px !important;
    }
}
body.eshop-category .kosta-breadcrumb-path {
    text-align: right;
}
@media(max-width: 767px) {
    .eshop-category .kosta-breadcrumb-path{
        padding-bottom: 10px;
    }
}
.eshop-category.category-product-editor .kosta-breadcrumb-path{
    padding-bottom: 10px;
}
@media(max-width: 991px) {
    .eshop-category.category-product-editor .kosta-breadcrumb-path{
        text-align:center;
    }
}
body.eshop-category .kosta-breadcrumb span:nth-child(n+2)::before, 
body.eshop-product .kosta-breadcrumb span:nth-child(n+2)::before, 
body.eshop-category .kosta-breadcrumb-item a,
body.eshop-product .kosta-breadcrumb-item a {
    color: #1c92b8;
}
body.eshop-category .kosta-breadcrumb-item a:hover,
body.eshop-product .kosta-breadcrumb-item a:hover
 {
    color: #1d7699 !important;
}
body.eshop-category .kosta-breadcrumb {
  display: none
}
body .eshop-category .eshop-category-content .kosta-breadcrumb {
  display: block;
}
body.eshop-product .kosta-breadcrumb {
    text-align: right;
}
/* --- */

body #top-bar {
	text-align: center;
}
@media (max-width: 991px) {
	body #top-bar {
		display: block;
		border-bottom: solid 1px #fff;
		text-align: center;
		height: max-content;
		line-height: 23px;
		padding: 7px 0;
	}
}

/** menu */
@media(min-width: 992px) {

    body .header-menu .menu-products > li.active ul {
        display: flex !important;
    }
    body .header-menu .menu-products > li ul {
        flex-flow: row wrap;
        justify-content: center;
        align-items: flex-start;
    }
    body  .menu-products .menu-item li img,
    body .menu-products .menu-item li a,
    body .menu-products .menu-item li span{
            width: 100%;
            max-width: 155px !important;
    }
}

/* pretekajici menuitem na sm desktop */
@media(min-width: 992px) and (max-width: 1199px){
    body .header-menu .container    {
        width: 96%;
        text-align:center;
    }
}
@media(min-width: 992px) and (max-width: 1099px) {
    body .menu-products > li > a > img {
        display:none
    }
    body .menu-products > li > a > span {
        margin-left:5px;
    }
}
@media(min-width: 1100px) and (max-width: 1199px) {
    body .menu-products > li > a img {
        margin: 0 5px;
        width: 15px;
    }
    body .menu-products > li > a > span {
        margin-left: 0px;
    }
    body .menu-products > li .menu-item-arrow { 
        width: 20px;
        height:20px;
    }
}
/* --- */


/** nadpisy*/
body footer .review-item h4 {
    font-size: 38px;
    color: #4C8D6F;
    line-height: 53px;
    margin: .67em 24px .67em 0;
}


/** buttony */
body .title-box-item-link:hover,
body .title-box-item-link:hover > a,
body .title-box-item-link:focus,
body .title-box-item-link:focus > a {
    background: #1d7699;
    border-color: #1d7699;
    color: #fff !important;
}
body.eshop-category:not(.category-product-editor) .eshop-category-content .eshop-category-items .eshop-category-item-price:hover:after,
body.eshop-category:not(.category-product-editor) .eshop-category-content .eshop-category-items .eshop-category-item-price:focus:after {
    background: #1d7699 !important;
    color: #fff !important;
    z-index:5000;
    display:block;
}
body.eshop-category.category-product-editor .eshop-category-items .eshop-category-item-desc:hover:after,
body.eshop-category.category-product-editor .eshop-category-items .eshop-category-item-desc:focus:after {
    background: #1d7699 !important;
    color: #fff;
}
body #header-userbox-logout-form button:hover, 
body #header-userbox-logout-form button:focus, 
body #header-userbox-not-logged:hover, 
body #header-userbox-not-logged:focus, 
body .btn-log-on-user:hover, 
body .btn-log-on-user:focus, 
body .btn:hover, 
body .btn:focus, 
body .buttons-row>:hover, 
body .buttons-row>:focus, 
body .eshop-cart-product-files-add a:hover, 
body .eshop-cart-product-files-add a:focus, 
body .eshop-cart-voucher-add-btn:hover, 
body .eshop-cart-voucher-add-btn:focus, 
body .eshop-product-editor-templatedetail-summary-btn:hover, 
body .eshop-product-editor-templatedetail-summary-btn:focus,
body .favourites-products-item-button:hover,
body .favourites-products-item-button:focus
 {
    background-color: #1d7699;
    color: #fff !important;
}
body.eshop-category:not(.category-product-editor) .eshop-category-content .eshop-category-items .eshop-category-item:hover, 
body.eshop-category:not(.category-product-editor) .eshop-category-content .eshop-category-items .eshop-category-item:focus, 
body.eshop-category.category-product-editor .eshop-category-items .eshop-category-item:hover,
body.eshop-category.category-product-editor .eshop-category-items .eshop-category-item:focus,
body .favourites-products-item:hover,
body .favourites-products-item:focus {
    box-shadow: 0 0 10px rgba(28, 146, 184, 0.5);
}
/* */


/** cerveny info pruh */
.top_bar_red > .container {
    text-align: center;
}



/**   homepage   */
/* Popup */ 
.popup {
    position:fixed;
    top:0px;
    left:0px;
    background:rgba(0,0,0,0.75);
    width:100%;
    height:100%;
    display:none;
        z-index: 99999;
}
.popup_content {
    display:block;
    width: 700px;
    margin: 100px auto 0;
    box-sizing: border-box;
    padding: 40px;
    margin-top: 100px;
    box-shadow: 0px 2px 6px rgba(0,0,0,1);
    border-radius: 3px;
    background: #1c92b8;
    position: relative;
}
@media screen and (max-width: 767px) {
    .popup_content {
        width: calc(100% - 60px);
    }
}
.popup_h2 {
    text-align:center;
    color: #fff;
    margin-bottom: 30px;
}
@media screen and (max-width: 575px) {
    .popup_h2 {
        font-size: 20px;
    }
}
.popup p {
    text-align:center;
    font-size: 16px;
    color: #1e364f;
}
.popup_close_button {
    width: 30px;
    height: 30px;
    position: absolute;
    top: -10px;
    right: -10px;
    border-radius: 20px;
    background: #fff;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    color: #1e364f;
    text-decoration: none !important;
}
@media screen and (max-width: 991px) {
    .popup_close_button {
        width: 25px;
        height: 25px;
    }
}
.popup_close_button:hover {
    background: rgba(0,0,0,1);
}

/* video box */
body.page-1 .simple-editor-wrapper {
    height: max-content;
    padding: 60px 94px 70px;
    width: 778px;
}
body.page-1 .simple-editor-video {
    top:90px;
}
@media (max-width: 1199px) {
    body.page-1 .simple-editor-wrapper,
     body.page-1 .simple-editor-wrapper p {
        width: 100%;
        max-width: 100%;
    }
     body.page-1 .simple-editor-wrapper {
        padding: 60px 100px 120px;
     }
    
    body.page-1 .simple-editor-video {
        position: relative;
        text-align: center;
        margin-top: -125px;
        margin-bottom: 80px;
        margin: -125px auto 150px;
        top: 60px;
    }
}
@media (max-width: 992px) {
    body.page-1 .simple-editor-wrapper h2{
        max-width: 100%;
    }
}
@media (max-width: 767px) {
    body.page-1 .simple-editor-wrapper {
        width: calc(100% - 30px);
        margin: 0 15px;
    }
    body.page-1 .simple-editor-wrapper h2>span {
        display: block;
        
    }
        body.page-1 .simple-editor-video {
        margin: -125px auto 180px;
    }
}
@media (max-width: 575px) {
         body.page-1 .simple-editor-wrapper {
        padding: 60px 50px 120px;
     }
}
@media (max-width: 500px) {
    body.page-1 .simple-editor-video {
        margin: -125px auto 120px;
    }
}

/* box provozoven */
footer .collection-point-section .collection-point-text {
  max-width: calc(100% - 80px) !important;
}

/* mobilní vlajka 3+1 zdarma */
@media(min-width: 501px) {
    .badge-3plus1-mobile {
        display:none !important;
    }
}
.badge-3plus1-mobile {
    display: block;
  background: #cb2d17;
  width: 85px;
  height: 85px;
  border: 0;
  padding: 13px 5px;
  border: 0;
  border-radius: 50%;
  font-weight: bold;
  text-align: center;
  line-height: 1.3em;
  color: #fff;
  transform: rotate(-5deg);
  position: relative;
  margin-left: 5%;
  margin-top: 20px;
}
.badge-3plus1-mobile div{
    font-weight: bold;
}


/**   dynamicka stranka kategorie   */

body.eshop-category:not(.category-product-editor) 
.eshop-category-items   
.eshop-category-item-info {
        position: relative;
        top: -70px;
}
body.eshop-category:not(.category-product-editor) 
.eshop-category-item  
.eshop-category-item-name {
    position: relative;
    top:55px;
}
body.eshop-category:not(.category-product-editor) .eshop-category-item  .eshop-category-item-price-amount {
    top: 300px !important;
    z-index: 500;
}

@media screen and (max-width:991px) {
    body.eshop-category:not(.category-product-editor) .eshop-category-item  .eshop-category-item-price-amount {
        top: 410px !important;
    }
}

@media screen and (max-width: 767px) {
    body.eshop-category:not(.category-product-editor) .eshop-category-content .eshop-category-items .eshop-category-item-thumbnail {
        order:1; 
    }
    body.eshop-category:not(.category-product-editor) .eshop-category-content .eshop-category-items .eshop-category-item-info.mobile {
        order: 2;
        padding: 5px 15px;
        top: -20px;
    }
    body.eshop-category:not(.category-product-editor) .eshop-category-content .eshop-category-items .eshop-category-item-name {
        order:3;
        top: 0;
    }
    body.eshop-category:not(.category-product-editor) .eshop-category-content .eshop-category-items .eshop-category-item-desc {
        order:4;
        }
    /* je tam display none na last child, js druhy img zobrazi jen na velkych displejich */
    body.eshop-category:not(.category-product-editor) .eshop-category-content .eshop-category-items .eshop-category-item-thumbnail img:first-child {
        display: block;
    }
    body .eshop-category-item-info:not(.mobile) {
        display:none
    }
    body.eshop-category:not(.category-product-editor) .eshop-category-content .eshop-category-item .eshop-category-item-price-amount {
        top: -20px !important;
    }
    body.eshop-category:not(.category-product-editor) .eshop-category-content .eshop-category-item .eshop-category-item-price::after {
        top:5px;
    }
}
@media screen and (min-width: 768px) {
    body .eshop-category-item-info.mobile {
        display:none;
    }
}

/* fix neviditelneho obrazku produktu kategorie s motivy po pridani flags - mel by mit jen 1 img */
@media (max-width: 767px) {
    body.eshop-category:not(.category-product-editor) .eshop-category-content .eshop-category-items .eshop-category-item-thumbnail img:last-child {
        display: block;
    }
}
/* jen jedna fotka v kategorii na mobilu  - mozna tim kryju nejakej bug na backendu*/
.eshop-category-item-thumbnail.more >div:nth-of-type(2) {
    display:none;
}
@media(max-width:767px) {
    .added_category_photo {
        display:none !important;
    }
}



/* sirka popisku - sipky  prevence preleteceni do 3. radku */
/* testuj */
body.eshop-category:not(.category-product-editor) .eshop-category-content .eshop-category-items .eshop-category-item-price-amount {
    width: 225px;
}
@media(max-width: 767px) {
    body.eshop-category:not(.category-product-editor) .eshop-category-content .eshop-category-items .eshop-category-item-price-amount {
            display:block;
    }
    body.eshop-category:not(.category-product-editor) .eshop-category-content .eshop-category-items .eshop-category-item-price-amount::after {
        display:block;
        position: relative;
        float: left;
        top: 24px;
            
    }
}

/* kategorie - vyber sablony */
body.eshop-category.category-product-editor .eshop-category-description-bottom {
    margin: 65px auto 50px;
}

/* usp */
@media(max-width: 1199px) {
    body.eshop-category:not(.category-product-editor) .short-info {
        margin-bottom: 40px;
    }
}
@media(max-width: 991px) {
    body.eshop-category:not(.category-product-editor) .short-info {
        margin-bottom: 0;
    }
}


/* zalozky u spodniho popisku */
.cat_bmark_box{
    display: block;
    
}
.bmarks {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    padding: 20px 0 10px;
    max-width: 600px;
    position: relative;
    left: -10px;
}
@media(max-width: 991px) {
    .bmarks {
        justify-content: center;
        margin: 0 auto;
        left: 0;
    }
}
.cat_bmark {
  cursor:pointer;
    list-style: none;
    padding: 8px 13px;
    line-height: 24px;
    font-size: 16px;
    background: #1C92B8;
    border-radius: 100px;
    color: #fff;
    font-weight: 700;
    margin: 0 10px 16px;
    width: fit-content;
}
@media(max-width:479px) {
    .cat_bmark {
        font-size: 14px;
        padding: 6px 8px;
        margin: 0 6px 10px
    }
}
.cat_bmark:hover,
.cat_bmark:focus,
.cat_bmark.active {
  background: #1d7699;
}
.bmark_content_box {
    padding-bottom: 30px;
}
.bmark_content {
 display: none;
}
.bmark_content.active {
display: block;
}

/* --- */



/**   Detail produktu   */

/* odsazeni fotky na detailu */
.eshop-product .eshop-product-editor-templatedetail-gallery
{
    margin-top: 30px;
}
body.eshop-product #eshop-product-editor-templatepreview-gallerydetail {
    margin-bottom: 30px
}
body.eshop-product .eshop-product-description-bottom {
    margin-bottom: 50px;
}
/* --- */

/** Cookies popup */
body .cookieconsent-modal .modal-content{
    border-radius: 35px;
    text-align: center;
}
body .cookieconsent-modal .modal-header {
    border:0;
}
body .cookieconsent-modal .buttons-row {
        margin: 30px auto 20px;
}
body .cookieconsent-modal .btn.btn-default,
body .cookieconsent-modal .btn-link {
    text-transform: uppercase;
}
body .cookieconsent-modal p {
    margin-top: 25px;
    padding: 5px 15px 0;
}
body .cookieconsent-modal .btn.btn-default {
    letter-spacing: 0.1em;
}
body .cookieconsent-modal .btn.btn-default:hover {
  background-color: #1E364F !important;
}
body .cookieconsent-modal .btn-link:hover {
    color: #1E364F !important;
}
@media(max-width: 767px) {
    .cookieconsent-modal-logo {
        width: 50%;
        max-width: 199px;
        position:relative;
        top: -5px;
    }
    body .cookieconsent-modal .modal-body {
        padding: 0 15px 10px;        
    }
    body .cookieconsent-modal p {
        text-align: justify;
        margin-top: 15px;
        padding: 0 15px;
    }
}
@media(max-width: 479px) {
    body .cookieconsent-modal p {
        padding: 0 5px;
    }
}
 /** Co0kies - manage cookies page */
body.auth-managecookies #body-content .auth-managecookies-categories,
body.auth-managecookies #body-content .buttons-row{
   max-width: 660px;
     margin: 30px auto 0;
}
body.auth-managecookies #body-content .buttons-row {
     text-align: center;
     margin: 50px auto 100px;
}
body.auth-managecookies #body-content input {
    height: auto !important;
    margin-right: 20px;
}
body.auth-managecookies #body-content span {
    font-size: 16px;
    font-weight: 600
}


/** static pages */
body .options-payment .options-shipping-free-bar::before, 
body .options-shipping .options-shipping-free-bar::before {
    content: "0 Kč";
}
body .options-payment .options-shipping-free-bar::after, 
body .options-shipping .options-shipping-free-bar::after {
    content: '2 000 Kč';
}


/* akcni vlajky produktu - outerFlags */
.outerFlag{
    display: block;
    width:80px;
    height:80px;
    border-radius: 50%;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    padding-top:20px;
    line-height:20px;
    position: relative;
    transform: rotate(-10deg);
    float: none;
}
.triplusjedna{
    font-size: 170%;
}

.outerFlag.outer_flag_product {
    top: -100px;
    margin-top: 0;
    left: calc(50% - 40px);
}
@media(min-width:480px) {
    .outerFlag.outer_flag_product {
        top: -100px;
    margin-top: -80px;
    left: -190px;
    float: right;
    }
}
@media(min-width:992px) {
    .outerFlag.outer_flag_product {
        top: 10px;
        margin-top: -110px;
    left: -109%;
    }
}

.outerFlag.outer_flag_category {
    transform: rotate(-10deg) scale(1.3);
    top: 93px;
    margin-top: -80px;
    left: 0%;
}
@media(min-width:320px) {
    .outerFlag.outer_flag_category {
        top: 93px;
        margin-top: -80px;
        left: 3%
    }
}
@media(min-width:400px) {
    .outerFlag.outer_flag_category {
        top: 98px;
        margin-top: -80px;
        left: 5%
    }
}
@media(min-width:480px) {
    .outerFlag.outer_flag_category {
        top: 98px;
        margin-top: -80px;
       left: 20px;
    }
}
@media(min-width:768px) {
    .outerFlag.outer_flag_category {
        top: 75px;
        left: -15px;
        transform: rotate(-10deg) scale(1);
    }
}
@media(min-width:992px) {
    .outerFlag.outer_flag_category {
        top: 80px;
        margin-left: 4px;
    }
}
@media(min-width:1200px) {
    .outerFlag.outer_flag_category {
        top: 75px;
        margin-left: 12px;
    }
}
@media(min-width:1366px) {
    .outerFlag.outer_flag_category {
        width: 85px;
        height: 85px;
        margin-top: -85px;
        top: 90px;
        margin-left: 20px;
    }
}

.outerFlag.outer_flag_motive {
    top: 85px;
    margin-top: -80px;
    left: 5px;
    z-index:50;
}




